package components.ball;

import com.uqbar.vainilla.DeltaState;

public abstract class BallState {
	
	private NormalBall ball;
	
	public BallState(NormalBall aBall){
		this.setBall(aBall);
	}

	public abstract void update(DeltaState deltaState);

	public void setBall(NormalBall ball) {
		this.ball = ball;
	}

	public NormalBall getBall() {
		return ball;
	}
	public void newState (BallState aState){
		this.ball.setState(aState);
	}
		

}
